<script setup>
import {ref, inject} from 'vue'
import Join from './components/Join.vue'

const userinfo=inject('userinfo')

//申请加入企业
const join_model=ref(false)
function handleButtonJoin(){
    join_model.value=true
}


</script>

<template>
<div v-if="userinfo.organization">
    
</div>
<div v-else>
    <Join v-show="join_model" v-model="join_model"/>
    <div style="display:flex; justify-content: center; margin:20px 0;">
        <el-button type="success" @click="handleButtonJoin">申请加入企业</el-button>
    </div>
</div>
</template>

<style scoped>

</style>